package com.cm.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cm.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @类 名：Users </br>
 * @描 述：</br>
 * @日 期：2020/8/23 14:26</br>
 * @作 者：常明</br>
 * @版 本：1.0.0
 * @since JDK 1.8
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User extends BaseEntity{
    private String username;
    private String password;
    //@TableField(value = "real_name")
    private String realName;
    //@TableField(value = "role_id")
    private Long roleId;
    private Byte position;
    private Byte department;
    private Byte level;
}
